var express = require('express');
var router = express.Router();
var path = require("path");
const CountService=require("../services/count/count_service.js");


//添加账单
//完整url:"/api/counts/add"
router.post("/add",CountService.add);
//修改账单信息
router.get('/update',CountService.update);
//删除数据
router.get('/delete',CountService.countDelete);
//模糊查询数据
router.get('/query',CountService.query);
//按页查询职位
router.get("/find_by_page",CountService.findByPage);

module.exports = router;